package com.hiyiin.IntelligentHospital.hosp.service;

import com.hiyiin.IntelligentHospital.model.hosp.Schedule;
import com.hiyiin.IntelligentHospital.vo.hosp.ScheduleQueryVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface ScheduleService {
    void save(Map<String, Object> paramMap);

    Page<Schedule> findPageSchedule(Integer currentPage, Integer pageSize, ScheduleQueryVo scheduleQueryVo);

    void remove(String hoscode, String hosScheduleId);

    //根据医院编号 和 科室编号 ，查询排班规则数据
    Map<String, Object> getRuleSchedule(long currentPage, long pageSize, String hoscode, String depcode);

    //获取排班详情
    List<Schedule> getDetailSchedule(String hoscode, String depcode, String workDate);

    //获取排班可预约日期数据
    Map<String, Object> getBookingScheduleRule(int page, int limit, String hoscode, String depcode);

    //根据id获取排班
    Schedule getById(String id);

}
